import { POST } from './common'

const baseApi = '/cas/auth'

export const login = (data, params) => {
  return POST({
    url: `${baseApi}/login`,
    data,
    params,
  })
}

export const regist = (data, params) => {
  return POST({
    url: `${baseApi}/register`,
    data,
    params,
  })
}


